package com.nashuju.web.entity.sw;

import java.util.Date;

import org.durcframework.core.expression.annotation.ValueField;
import org.durcframework.core.support.SearchEasyUI;
import org.durcframework.core.util.DateUtil;


public class STaskSch extends SearchEasyUI{

	//根据时间进行搜索的部分
	private Date createdStartSch;
	private Date createdEndSch;

	@ValueField(column = "createdTime", equal = ">=")
	public Date getCreatedStartSch() {
		return createdStartSch;
	}

	public void setCreatedStartSch(Date createdStartSch) {
		this.createdStartSch = createdStartSch;
	}

	@ValueField(column = "createdTime", equal = "<")
	public Date getCreatedEndSch() {
		if (createdEndSch != null) {
			return DateUtil.getDateAfterDay(createdEndSch, 1);
		}
		return createdEndSch;
	}

	public void setCreatedEndSch(Date createdEndSch) {
		this.createdEndSch = createdEndSch;
	}


    private Integer idSch;
    private String uuidSch;
    private String numberSch;
    private String founderSch;
    private String customer_nameSch;
    private String accpet_typeSch;
    private String provincesSch;
    private String countySch;
    private String fault_categorySch;
    private Date plan_arrive_timeSch;
    private Date plan_finish_timeSch;
    private String task_typeSch;
    private Integer engineerSch;
    private String transportationSch;
    private String contact_nameSch;
    private String contact_positionSch;
    private String contact_phoneSch;
    private String fixed_phoneSch;
    private String chargeSch;
    private String work_hoursSch;
    private Integer loop_timeSch;
    private String send_demandSch;
    private String issue_reasonSch;
    private Date release_timeSch;
    private String statusSch;
    private Integer loop_periodSch;
    private Date created_timeSch;
    private Date edited_timeSch;
    private String contract_nameSch;
    private String contract_numSch;
    private Date sign_timeSch;
    private String responsible_nameSch;
    private String responsible_phoneSch;

	
	private Date releaseStartSch;
	private Date releaseEndSch;
	
	@ValueField(column = "release_time", equal = ">=")
	public Date getReleaseStartSch() {
		return releaseStartSch;
	}

	public void setReleaseStartSch(Date releaseStartSch) {
		this.releaseStartSch = releaseStartSch;
	}

	@ValueField(column = "release_time", equal = "<")
	public Date getReleaseEndSch() {
		if (releaseEndSch != null) {
			return DateUtil.getDateAfterDay(releaseEndSch, 1);
		}
		return createdEndSch;
	}

	public void setReleaseEndSch(Date releaseEndSch) {
		this.releaseEndSch = releaseEndSch;
	}
	
	
    public void setIdSch(Integer idSch){
        this.idSch = idSch;
    }
    
    @ValueField(column = "id")
    public Integer getIdSch(){
        return this.idSch;
    }

    public void setUuidSch(String uuidSch){
        this.uuidSch = uuidSch;
    }
    
    @ValueField(column = "uuid")
    public String getUuidSch(){
        return this.uuidSch;
    }

    public void setNumberSch(String numberSch){
        this.numberSch = numberSch;
    }
    
    @ValueField(column = "number")
    public String getNumberSch(){
        return this.numberSch;
    }

    public void setFounderSch(String founderSch){
        this.founderSch = founderSch;
    }
    
    @ValueField(column = "founder")
    public String getFounderSch(){
        return this.founderSch;
    }

    public void setCustomerNameSch(String customer_nameSch){
        this.customer_nameSch = customer_nameSch;
    }
    
    @ValueField(column = "customer_name")
    public String getCustomerNameSch(){
        return this.customer_nameSch;
    }

    public void setAccpetTypeSch(String accpet_typeSch){
        this.accpet_typeSch = accpet_typeSch;
    }
    
    @ValueField(column = "accpet_type")
    public String getAccpetTypeSch(){
        return this.accpet_typeSch;
    }

    public void setProvincesSch(String provincesSch){
        this.provincesSch = provincesSch;
    }
    
    @ValueField(column = "provinces")
    public String getProvincesSch(){
        return this.provincesSch;
    }

    public void setCountySch(String countySch){
        this.countySch = countySch;
    }
    
    @ValueField(column = "county")
    public String getCountySch(){
        return this.countySch;
    }

    public void setFaultCategorySch(String fault_categorySch){
        this.fault_categorySch = fault_categorySch;
    }
    
    @ValueField(column = "fault_category")
    public String getFaultCategorySch(){
        return this.fault_categorySch;
    }

    public void setPlanArriveTimeSch(Date plan_arrive_timeSch){
        this.plan_arrive_timeSch = plan_arrive_timeSch;
    }
    
    @ValueField(column = "plan_arrive_time")
    public Date getPlanArriveTimeSch(){
        return this.plan_arrive_timeSch;
    }

    public void setPlanFinishTimeSch(Date plan_finish_timeSch){
        this.plan_finish_timeSch = plan_finish_timeSch;
    }
    
    @ValueField(column = "plan_finish_time")
    public Date getPlanFinishTimeSch(){
        return this.plan_finish_timeSch;
    }

    public void setTaskTypeSch(String task_typeSch){
        this.task_typeSch = task_typeSch;
    }
    
    @ValueField(column = "task_type")
    public String getTaskTypeSch(){
        return this.task_typeSch;
    }

    public void setEngineerSch(Integer engineerSch){
        this.engineerSch = engineerSch;
    }
    
    @ValueField(column = "engineer")
    public Integer getEngineerSch(){
        return this.engineerSch;
    }

    public void setTransportationSch(String transportationSch){
        this.transportationSch = transportationSch;
    }
    
    @ValueField(column = "transportation")
    public String getTransportationSch(){
        return this.transportationSch;
    }

    public void setContactNameSch(String contact_nameSch){
        this.contact_nameSch = contact_nameSch;
    }
    
    @ValueField(column = "contact_name")
    public String getContactNameSch(){
        return this.contact_nameSch;
    }

    public void setContactPositionSch(String contact_positionSch){
        this.contact_positionSch = contact_positionSch;
    }
    
    @ValueField(column = "contact_position")
    public String getContactPositionSch(){
        return this.contact_positionSch;
    }

    public void setContactPhoneSch(String contact_phoneSch){
        this.contact_phoneSch = contact_phoneSch;
    }
    
    @ValueField(column = "contact_phone")
    public String getContactPhoneSch(){
        return this.contact_phoneSch;
    }

    public void setFixedPhoneSch(String fixed_phoneSch){
        this.fixed_phoneSch = fixed_phoneSch;
    }
    
    @ValueField(column = "fixed_phone")
    public String getFixedPhoneSch(){
        return this.fixed_phoneSch;
    }

    public void setChargeSch(String chargeSch){
        this.chargeSch = chargeSch;
    }
    
    @ValueField(column = "charge")
    public String getChargeSch(){
        return this.chargeSch;
    }

    public void setWorkHoursSch(String work_hoursSch){
        this.work_hoursSch = work_hoursSch;
    }
    
    @ValueField(column = "work_hours")
    public String getWorkHoursSch(){
        return this.work_hoursSch;
    }

    public void setLoopTimeSch(Integer loop_timeSch){
        this.loop_timeSch = loop_timeSch;
    }
    
    @ValueField(column = "loop_time")
    public Integer getLoopTimeSch(){
        return this.loop_timeSch;
    }

    public void setSendDemandSch(String send_demandSch){
        this.send_demandSch = send_demandSch;
    }
    
    @ValueField(column = "send_demand")
    public String getSendDemandSch(){
        return this.send_demandSch;
    }

    public void setIssueReasonSch(String issue_reasonSch){
        this.issue_reasonSch = issue_reasonSch;
    }
    
    @ValueField(column = "issue_reason")
    public String getIssueReasonSch(){
        return this.issue_reasonSch;
    }

    public void setReleaseTimeSch(Date release_timeSch){
        this.release_timeSch = release_timeSch;
    }
    
    @ValueField(column = "release_time")
    public Date getReleaseTimeSch(){
        return this.release_timeSch;
    }

    public void setStatusSch(String statusSch){
        this.statusSch = statusSch;
    }
    
    @ValueField(column = "status")
    public String getStatusSch(){
        return this.statusSch;
    }

    public void setLoopPeriodSch(Integer loop_periodSch){
        this.loop_periodSch = loop_periodSch;
    }
    
    @ValueField(column = "loop_period")
    public Integer getLoopPeriodSch(){
        return this.loop_periodSch;
    }

    public void setCreatedTimeSch(Date created_timeSch){
        this.created_timeSch = created_timeSch;
    }
    
    @ValueField(column = "created_time")
    public Date getCreatedTimeSch(){
        return this.created_timeSch;
    }

    public void setEditedTimeSch(Date edited_timeSch){
        this.edited_timeSch = edited_timeSch;
    }
    
    @ValueField(column = "edited_time")
    public Date getEditedTimeSch(){
        return this.edited_timeSch;
    }
    public void setContractNameSch(String contract_nameSch){
        this.contract_nameSch = contract_nameSch;
    }
    
    @ValueField(column = "contract_name")
    public String getContractNameSch(){
        return this.contract_nameSch;
    }

    public void setContractNumSch(String contract_numSch){
        this.contract_numSch = contract_numSch;
    }
    
    @ValueField(column = "contract_num")
    public String getContractNumSch(){
        return this.contract_numSch;
    }

    public void setSignTimeSch(Date sign_timeSch){
        this.sign_timeSch = sign_timeSch;
    }
    
    @ValueField(column = "sign_time")
    public Date getSignTimeSch(){
        return this.sign_timeSch;
    }

    public void setResponsibleNameSch(String responsible_nameSch){
        this.responsible_nameSch = responsible_nameSch;
    }
    
    @ValueField(column = "responsible_name")
    public String getResponsibleNameSch(){
        return this.responsible_nameSch;
    }

    public void setResponsiblePhoneSch(String responsible_phoneSch){
        this.responsible_phoneSch = responsible_phoneSch;
    }
    
    @ValueField(column = "responsible_phone")
    public String getResponsiblePhoneSch(){
        return this.responsible_phoneSch;
    }

	

}